<form action="<?php echo $controller;?>showlist/<?php echo $qid;?>/1" method="get" class="filter-form-wrap" enctype="multipart/form-data">
    <div class="filter-wrap flex-row flex-justify-between flex-align-start flex-nowrap">
        <div class="flex-column flex-justify-center flex-align-start flex-nowrap" style="width: 50%;">
            <div class="flex-row flex-justify-start flex-nowrap flex-align-center marginTB-5">
                <span style="width: 60px;">申请时间</span>
                <input type="text" name="applystart" id="applystartpicker" class="marginLR-5" value="<?php if (isset($applystart)):?><?php echo $applystart;?><?php endif;?>">
                <span style="width: 20px;">至</span>
                <input type="text" name="applyend" id="applyendpicker" class="marginLR-5" value="<?php if (isset($applyend)):?><?php echo $applyend;?><?php endif;?>">
            </div>
            <div class="flex-row flex-justify-start flex-nowrap flex-align-center marginTB-5">
                <span style="width: 60px;">处理时间</span>
                <input type="text" name="prostart" id="prostartpicker" class="marginLR-5" value="<?php if (isset($prostart)):?><?php echo $prostart;?><?php endif;?>">
                <span style="width: 20px;">至</span>
                <input type="text" name="proend" id="proendpicker" class="marginLR-5" value="<?php if (isset($proend)):?><?php echo $proend;?><?php endif;?>">
            </div>
            <div class="flex-row flex-justify-start flex-nowrap flex-align-center marginTB-5">
                <span style="width: 60px;">审核状态</span>
                <select name="fstatus" class="marginLR-5">
                    <option value="">全部</option>
                    <option value="1" <?php if (isset($fstatus)&&$fstatus == "1"):?><?php echo 'selected';?><?php endif;?>>等待审核</option>
                    <option value="2" <?php if (isset($fstatus)&&$fstatus == "2"):?><?php echo 'selected';?><?php endif;?>>审核通过</option>
                    <option value="3" <?php if (isset($fstatus)&&$fstatus == "3"):?><?php echo 'selected';?><?php endif;?>>审核未通过</option>
                </select>
            </div>
        </div>
        <div class="flex-column flex-justify-center flex-align-start flex-nowrap" style="width: 50%;">
            <div class="flex-row flex-justify-start flex-nowrap flex-align-center marginTB-5">
                <span style="width: 60px;">提问者</span>
                <input type="text" name="fusername" class="marginLR-5" style="width: 330px;" value="<?php if (isset($fusername)):?><?php echo $fusername;?><?php endif;?>">
            </div>
            <div class="flex-row flex-justify-start flex-nowrap flex-align-center marginTB-5">
                <span style="width: 60px;">手机</span>
                <input type="text" name="ftelnum" class="marginLR-5" style="width: 330px;" value="<?php if (isset($ftelnum)):?><?php echo $ftelnum;?><?php endif;?>">
            </div>
            <div class="flex-row flex-align-start flex-justify-start">
                <div class="filter-btn marginTB-5">筛选</div>
                <div class="reset-btn" style="margin:5px 10px;">重置</div>
                <div class="allpass-btn" style="width: 100px;height: 30px;background-color: #1dd697;color: #fff;border-radius: 5px;line-height: 30px;text-align: center;font-size: 13px;margin:5px 10px;">
                    全部通过
                </div>
            </div>
        </div>

    </div>
</form>
<script type="text/javascript">
    var config = {showAnim:'drop',dateFormat:'yy-mm-dd',changeMonth:true,changeYear: true,
        monthNamesShort:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"]};
    $('#applystartpicker').datepicker(config);
    $('#applyendpicker').datepicker(config);
    $('#prostartpicker').datepicker(config);
    $('#proendpicker').datepicker(config);
    $('.allpass-btn').on('click',function () {
        window.location.href='<?php echo $controller;?>allpass/<?php echo $qid;?>';
    });
</script>